<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <meta http-equiv="X-UA-Compatible" content="ie=edge">
  <title>Document</title>
  <style>
    a:hover{
      color:blue;
      font-size: 20px;
    }
    div:hover{
      color:blue;
      font-size: 20px;
    }
  </style>
</head>
<body>
  <a href="#">this is a</a>
  <div>this is div</div>
  <!-- 
    IE6不支持除a元素以外的元素的伪类
    解决方法：无
   -->
</body>
</html>